
cjpm clean

rm -r cov_html

openssl genrsa -out ca.key 2048

openssl req -new -x509 -days 1 -key ca.key -out ca.crt -subj "/CN=My Test CA"

openssl genrsa -out server.key 2048

openssl req -new -key server.key -out server.csr -subj "/CN=localhost"

openssl x509 -req -days 1 -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out server.crt

rm -f server.csr ca.srl

cjpm test --coverage --no-capture-output $@

cjcov --html-details --output cov_html --exclude *_test.cj

rm -f ca.crt ca.key server.crt server.key
